from django.contrib import admin
from django.urls import path, include
from django.views.generic import RedirectView

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('app01.urls')),
    # ... 其他url patterns,阻止favicon.ico错误
    path('favicon.ico', RedirectView.as_view(url='/path/to/your/favicon.ico')),
]
